package com.easyframe.system.domain;

import java.util.List;
//SYSTEM_ROLE
public class Role implements TreeNode {
	private Integer id;
	private String name;
	private String description;
	private Boolean isOrgaRela;
	private Integer organizationId;
	private Organization organization;
	private List<User> users;
	private List<Menu> menus;
	private List<Privilege> privileges;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Boolean getIsOrgaRela() {
		return isOrgaRela;
	}

	public void setIsOrgaRela(Boolean isOrgaRela) {
		this.isOrgaRela = isOrgaRela;
	}

	public Integer getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	public List<Menu> getMenus() {
		return menus;
	}

	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}

	public List<Privilege> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(List<Privilege> privileges) {
		this.privileges = privileges;
	}
}